import React from 'react';
import {Route} from 'react-router';
import {WeaLocaleProvider} from 'ecCom';

const getLocaleLabel = WeaLocaleProvider.getLocaleLabel.bind(this, 'conlock');
import FormSign from './components/formSign/FormSignIndex';
import FileSign from "./components/fileSign/FileSign";
import Home from "./components/Home";
import stores from "./stores";
import './style/fileSignStyle.less'

const Routes = (
    <Route path='qiyuesuo' name="qiyuesuo" onEnter={getLocaleLabel} component={Home}>
        <Route path="formSign" name="formSign" breadcrumbName="表单签章"  component={FormSign}/>
        <Route path="fileSign" name="fileSign" breadcrumbName="契约锁菜单"  component={FileSign}/>
    </Route>
)


module.exports = {
    Route: Routes,
    store: stores,
}